2006-07-27 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the
return value of XGetWindowProperty() correctly so we don't return
garbage type hints. Pointed out by Tommi Komulainen, patch taken
from https://maemo.org/bugzilla/show_bug.cgi?id=724
+2006-07-27 Michael Natterer <mitch@imendio.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the
+ return value of XGetWindowProperty() correctly so we don't return
+ garbage type hints. Pointed out by Tommi Komulainen, patch taken
+ from https://maemo.org/bugzilla/show_bug.cgi?id=724
+
2006-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (gtk_settings_finalize): Move the
+2006-07-27 Michael Natterer <mitch@imendio.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the
+ return value of XGetWindowProperty() correctly so we don't return
+ garbage type hints. Pointed out by Tommi Komulainen, patch taken
+ from https://maemo.org/bugzilla/show_bug.cgi?id=724
+
2006-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (gtk_settings_finalize): Move the
if ((type_return == XA_ATOM) && (format_return == 32) &&
(data) && (nitems_return == 1))
{
- Atom atom = (Atom) *data;
+ Atom atom = *(Atom*)data;
if (atom == gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"))
type = GDK_WINDOW_TYPE_HINT_DIALOG;